package com.me.modules.knowledge.service;

import com.me.modules.common.page.Page;
import com.me.modules.knowledge.entity.KnowledgeInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 知识工单信息表
 *
 * @author me
 * @email me@163.com
 * @date 2019-01-04 13:34:33
 */
public interface KnowledgeInfoService {

	KnowledgeInfoEntity queryObject(String id);

	List<KnowledgeInfoEntity> queryList(Map<String, Object> map);




    List<KnowledgeInfoEntity> queryListByBean(KnowledgeInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(KnowledgeInfoEntity knowledgeInfo);

	int update(KnowledgeInfoEntity knowledgeInfo);

	int delete(String id);

	int deleteBatch(Long[] ids);

	Page<KnowledgeInfoEntity> findPage(KnowledgeInfoEntity knowledgeInfo, int pageNum);

	Page<KnowledgeInfoEntity> searchList(KnowledgeInfoEntity knowledgeInfo, int pageNum);
}
